<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<font color="red">
    <%= session.getAttribute("message") == null ? "" : session.getAttribute("message")%>
</font>

<form action="<%= request.getContextPath()%>/checkCodeServlet" method="post">
    name:<input type="text" value="name"/>
    checkCode:<input type="text" name="CHECK_CODE_PARAM_NAME"/>
    <img src="<%= request.getContextPath()%>/validateColorServlet">
    <input type="submit" value="提交"/>
</form>
</body>
</html>
